html,
body {
  margin: 0;
  border: 0;
  width: 100%;
  height: 100%;
  /* background: url(/assets/images/login_bg.jpg) no-repeat center; */
  background-size: cover;
}
/* logo */
.layui-main {
  padding-top: 40px;
}
/* ------------------------------------- */
/* 登录框 */
.LoginBox {
  position: absolute;
  width: 400px;
  height: 310px;
  left: 50%;
  top: 50%;
  /* background-color: #fff; */
  opacity: 0.7;
  transform: translate(-50%, -50%);
}
.LoginBox .img_title {
  width: 100%;
  height: 60px;
  background: url(/assets/images/login_title.png) no-repeat center;
}
.registration_box {
  display: none;
}
.layui-form {
  padding: 0 30px;
}
.layui-form .layui-form-item {
  text-align: right;
}
.layui-form-item a {
  font-size: 12px;
}
/* ------------------------------- */
/* 登录框字体图标美化 */
/* 用户名 */
.layui-form .layui-form-item:first-child {
  position: relative;
  font-size: 12px;
}
.layui-form-item .layui-input {
  padding-left: 30px;
}
.layui-form-item .layui-icon-username {
  position: absolute;
  top: 10px;
  left: 10px;
}
/* 密码 */
.layui-form .layui-form-item:nth-child(2) {
  position: relative;
  font-size: 12px;
}
.layui-form-item .layui-icon-password {
  position: absolute;
  top: 10px;
  left: 10px;
}
.layui-form .layui-form-item:nth-child(3) {
  position: relative;
  font-size: 12px;
}
